<div class='span12'>
	<h1><?php echo $this->Html->link($page_title, '/'); ?></h1>
	<table class="table table-bordered">
		<thead>
			<tr>
				<th></th>
				<th>Nombre</th>					
				<th>Inicio</th>	
				<th>Fin</th>	
				<th>Estado</th>
				<th>Creado</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach($tournaments_dates as $date):?>
				<tr>
					<td><input type='checkbox' name='date' value='<?php echo $date['TournamentDates']['dateId']?>' > </td>
					<td><?php echo $this->Html->link($date['TournamentDates']['dateName'], array('controller'=>'sports', 'action'=>'turnament_matchs',$date['TournamentDates']['dateId']));?></td>
					<td><?php echo $date['TournamentDates']['dateStart'];?></td>
					<td><?php echo $date['TournamentDates']['dateEnd']?></td>
					<td><?php echo $date['TournamentDates']['status']?></td>
					<td><?php echo $date['TournamentDates']['created']?></td>
					
				</tr>
			<?php endforeach;?>
		</tbody>
	</table>
	<div class="pagination pagination-right ">
		<ul>
		    <?php
		        echo $this->Paginator->prev(__('prev'), array('tag' => 'li'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a'));
		        echo $this->Paginator->numbers(array('separator' => '','currentTag' => 'a', 'currentClass' => 'active','tag' => 'li','first' => 1));
		        echo $this->Paginator->next(__('next'), array('tag' => 'li','currentClass' => 'disabled'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a'))
		    ?>
		</ul>
	</div>
</div>	
<br>
<br>
<br>
<br>
<br>
<br>